package com.neo.common.base;

/**
 * Created by longbh on 16/9/5.
 */
public class AppConstants {
    /**
     * 阿里云秘钥ID
     */
    public static final String accessKeyId = "LTAI4FcGZTmgsyXxpk5Ff11K";

    /**
     * 阿里云秘钥密码
     */
    public static final String accessKeySecret = "tN0KndLnDtRVobgB9TtSmEPrxz71sD";


    /**
     * 用户redis存贮的前缀
     */
    public static final String WX_USER_PRE = "WX_USERID_";

    /**
     * 用户redis存贮的前缀
     */
    public static final String BOX_LIST = "BOX_LIST";


    /**
     * 代理发送任务的账号
     */
    public static final String MESSAGE_TASK_RONGACCOUNT = "GOLDTASKMANAGER";
    /**
     * 消息中心的账号
     */
    public static final String MESSAGE_MESSAGE_RONGACCOUNT = "GOLDMESSAGECENTER";


    /**
     * 成功
     */
    public static final int OK = 1001;

    /**
     * 通用失败
     */
    public static final int FAIL = 1002;
    /**
     * 用户登录信息失效
     */
    public static final int USER_LOGIN_ERR = 2004;

    /**
     * 找不到
     */
    public static final int NOT_FOUND = 2001;

    /**
     * 不能为空
     */
    public static final int NOT_NULL = 2002;
    /**
     * 用户会话失效
     */
    public static final int USER_SESS_EXPIRED = 2003;



    /**
     * 帐号或密码错误
     */
    public static final int USER_NOT_INFO = 2005;

    /**
     * 帐号不存在
     */
    public static final int ACCOUNT_NOT_EXIST = 2006;

    /**
     * 验证码错误
     */
    public static final int CAPTCHA__NOT_EXIST = 2007;

    /**
     * 旧的验证码错误
     */
    public static final int OLD_ERROR_CAPTCHA = 2008;

    /**
     * 用户已经存在
     */
    public static final int USER_EXIST = 2009;

    /**
     * 用户被锁定
     */
    public static final int USER_LOCK = 2010;

    /**
     * 手机未绑定
     */
    public static final int PHONE_NOT_BIND = 2011;

    /**
     * 长度错误
     */
    public static final int SIZE_TOO_MIN = 2012;


    /**
     * 支付失败
     */
    public static final int PAY_FAIL = 3001;


    public static final String USER_PRE = "hrcy";
    public static final String USER_INFO = "info";
}
